import { Address, Code, CreateDate, Desc, Entity, MemberId, Mobile, PrimaryUuid, Province, Realname, Title, UpdateDate, Uuid } from "@sker/core";


@Entity({
    name: 'kd_month_account'
})
export class KdMonthAccount {
    @PrimaryUuid()
    id: string;

    @Uuid({ nullable: true, comment: '代理' })
    agent_id: string;

    @Code({ comment: '月结号' })
    card_sn: string;

    @Title({ comment: '公司名' })
    comp_name: string;

    @MemberId({ comment: '用户' })
    member_id: string;

    @Realname({ comment: '姓名' })
    realname: string;

    @Code({ comment: '身份证号' })
    card_id: string;

    @Mobile({ comment: '电话' })
    mobile: string;

    @Code({ comment: '省' })
    province: string;

    @Code({ comment: '市' })
    city: string;

    @Code({ comment: '区' })
    area: string;

    @Code({ comment: '区', nullable: true })
    street: string;

    @Address({ comment: '详细地址', nullable: true })
    address: string;

    @Code({ comment: '状态', default: '0' })
    status: string;

    @Desc({ comment: '失败原因', nullable: true })
    reason: string;

    @Uuid({ comment: '审核人', nullable: true })
    check_id: string;

    @Uuid({ comment: '月结地址', nullable: true })
    address_id: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}